import {IpdShellApp} from "@/components/IpdShell/IpdShellApp/IpdShellApp";
// Mantine布局组件
import {AppShell, AppShellHeader, AppShellMain} from "@mantine/core";
// 自定义组件
import {IpdHeader} from "@/components/IpdHeader/IpdHeader";

export default function Layout({children}: {children: React.ReactNode}) {
  return (
    <AppShell header={{height: 60}}>
      <AppShellHeader>
        <IpdHeader />
      </AppShellHeader>
      <AppShellMain>
        <IpdShellApp>{children}</IpdShellApp>
      </AppShellMain>
    </AppShell>
  );
}
